<body>
<h1>Clients List</h1>

<table>
  <thead>
    <tr>
      <th>Id client</th>
      <th>Nom</th>
      <th>Prenom</th>
      <th>Mail</th>
      <th>Login</th>
      <th>Motdepasse</th>
      <th>Adresse</th>
      <th>Codepostal</th>
      <th>Tel</th>
      <th>Telportable</th>
      <th>Possesionconsole</th>
    </tr>
  </thead>
  <tbody>
    <?php foreach ($clients as $client): ?>
    <tr>
      <td><a href="<?php echo url_for('client/show?id_client='.$client->getIdClient()) ?>"><?php echo $client->getIdClient() ?></a></td>
      <td><?php echo $client->getNom() ?></td>
      <td><?php echo $client->getPrenom() ?></td>
      <td><?php echo $client->getMail() ?></td>
      <td><?php echo $client->getLogin() ?></td>
      <td><?php echo $client->getMotdepasse() ?></td>
      <td><?php echo $client->getAdresse() ?></td>
      <td><?php echo $client->getCodepostal() ?></td>
      <td><?php echo $client->getTel() ?></td>
      <td><?php echo $client->getTelportable() ?></td>
      <td><?php echo $client->getPossesionconsole() ?></td>
    </tr>
    <?php endforeach; ?>
  </tbody>
</table>

  <!--<a href="<?php echo url_for('client/new') ?>">New</a>-->
</body>